package com.direct.domian;
/**
 * 路线成本
 * 
 * @author Administrator
 * 
 */

public class TransCost {

	private String id;
	// 车辆
	private Truck truck;
	// 路线
	private Road road;
	// 成本
	private Double price;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Truck getTruck() {
		return truck;
	}

	public void setTruck(Truck truck) {
		this.truck = truck;
	}

	public Road getRoad() {
		return road;
	}

	public void setRoad(Road road) {
		this.road = road;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public TransCost() {
	}

	public TransCost(String id) {
		this.id = id;
	}

	public TransCost(String id, Truck truck, Road road, Double price) {
		this.id = id;
		this.truck = truck;
		this.road = road;
		this.price = price;
	}

}